package com.wjj.sixinone.service;

import com.wjj.sixinone.common.pojo.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjj.sixinone.common.pojo.vo.DepartmentForm;
import com.wjj.sixinone.common.pojo.vo.DepartmentVO;
import com.wjj.sixinone.common.util.Result;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王不秃头
 * @since 2024-07-22
 */
public interface DepartmentService extends IService<Department> {

    Result selectDepartmentHeadByLimit(DepartmentVO departmentVO);

    void uploadExcel(HttpServletResponse httpServletResponse);

    Result updateDepartmentById(DepartmentForm departmentForm);

    Result addDepartment(DepartmentForm departmentForm);

    Result deleteById(String id);
}
